<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('起名上报详细')" />
	<th:block th:include="include :: jsonview-css" />
</head>
<body class="white-bg">
	<div class="wrapper wrapper-content animated fadeInRight ibox-content">
	<form class="form-horizontal m-t" id="signupForm">
		<div class="form-group">
			<label class="col-sm-2 control-label">用名ID：</label>
			<div class="form-control-static" th:text="${namingOp.kkid}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label">行为：</label>
			<div class="form-control-static" th:text="${namingOp.op}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label">IP：</label>
			<div class="form-control-static" th:text="${namingOp.ipInfo}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label">前端版本：</label>
			<div class="form-control-static" th:text="${namingOp.staticVersion}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label">是否会员：</label>
			<div class="form-control-static" th:class="${namingOp.isVip == 0 ? 'label label-primary' : 'label label-success'}" th:text="${namingOp.isVip == 0 ? '否' : '是'}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label">上报参数：</label>
			<div class="form-control-static"><pre id="param"></pre></div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label">user-agent：</label>
			<div class="form-control-static"><pre id="ua"></pre></div>
		</div>
	</form>
    </div>
    <th:block th:include="include :: footer" />
    <th:block th:include="include :: jsonview-js" />
    <script th:inline="javascript">
	    $(function() {
	    	var param = [[${namingOp.param}]];
	    	if ($.common.isNotEmpty(param) && param.length < 2000) {
	    		$("#param").JSONView(param);
	    	} else {
	    		$("#param").text(param);
	    	}
	    	var ua = [[${namingOp.ua}]];
	    	$("#ua").text(ua);
	    });
    </script>
</body>
</html>